package asboot.wechat.domain;

import java.io.Serializable;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@EqualsAndHashCode
@Entity
public class Message implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2492245031753769509L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	private Long localId;

	private Integer talkerId;

	private Integer type;

	private Integer subType;

	private Integer isSender;

	private Long createTime;

	private String status;

	@Column(length = 2048)
	private String strContent;

	private String strTime;
	
	private String remark;
	
	private String nickName;
	
	private String sender;
	

}
